package com.bnq.control.desktop.impl;

import android.content.Context;
import android.graphics.Bitmap;

import com.bnq.control.desktop.utils.ScreenShotUtils;
import com.oray.sunlogin.manager.interfaces.IScreenShotListener;

/**
 * @author: wanghongqiang
 * @data: 2023/8/8
 */
public class ScreenShotImpl implements IScreenShotListener {

    /**
     * 截屏回调一张图片 回调在子线程里
     *
     * @param context       context
     * @param resizedBitmap 截屏图片
     */
    @Override
    public void screenShot(Context context, Bitmap resizedBitmap) {
        ScreenShotUtils.screenShot(context, resizedBitmap);
    }
}
